﻿using System;
using System.Runtime.Serialization;

namespace Cognize.GoogleSearchAPIIntegration
{
    [DataContract]
    public class ResponseData
    {
        /// <summary>
        /// Contains data relating to the actual search results
        /// </summary>
        private Results[] _results;
        private Cursor _cursor;
        [DataMember]
        public Results[] results
        {
            get { return _results; }
            set { _results = value; }
        }

        /// <summary>
        /// Contains information about the search call, such as no. of results returned
        /// </summary>
        [DataMember]
        public Cursor cursor
        {
            get { return _cursor; }
            set { _cursor = value; }
        }
    }
}
